package com.lee.thread;

import org.junit.Test;

public class Test2 {


    @Test
    public void test() {

        Runnable r = () -> {
            System.out.println(Thread.currentThread().getName());
        };

        for (int i = 0; i < 10; i++) {
            new Thread(r).start();
        }

    }


    @Test
    public void test2() {
        
    }


}
